home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
dirut
/
adtutl10.zip
/
ADT.DOC
next >
Wrap
Text File
|
1992-09-21
|
10KB
|
347 lines
The ADT-utils
LICENSE
-------
These programs are copyrighted shareware-products for private and educational
use. You may copy and use them, but you must leave the files unaltered.
If you regularly use (some of) these programs...
-if you live in the European Community, send the equivalent of 5 ECU to
account nr.
979-3812705-28
(Andreas De Troy
Fehrenbachstraat 18
2440 Geel
Belgium)
-else, send 6$ to a charity organisation of your choice (and don't
hesitate to write me a letter about it !)
Thanks in advance.
All the programs are compiled with Borland C, version 3.0
These programs must not be sold for profit.
COMMENTS AND PROBLEMS
---------------------
Comments, improvements, suggestions and problems may be sent to
the author
Andreas De Troy
Fehrenbachstraat 18
2440 Geel
Belgium
E-mail: Andreas%PSL%PSY@cc3.kuleuven.ac.be
THANKS
------
Thanks to Johan Van Rensbergen
SYSTEM REQUIREMENTS
-------------------
IBM or compatible computer
DOS 3.00 or above
CONTENTS
--------
******************************** NOTE ************************************
-all the programs accept the "/?"-option to display help-information
-most of them accept a "/w"-option to store defaults into the EXE-file
-options followed by '∙' can be turned on/off with +/-.
example:
XUPDATE a: /b+ (full backup ON)
XUPDATE a: /b- (full backup OFF)
-for most programs it does not matter whether the <filespec> comes before
the <options> or vice versa
-many programs are already available from other authors (public domain etc.).
In these cases I give a short reason why you would want to use THESE programs
instead of the ones that are already available.
**************************************************************************
ADT.DOC
This file.
CUT.EXE
a program to cut a (large) file (<filename>.<ext>) into smaller parts
(with names <filename>.001, <filename>.002 etc.): if a file is too large
to be copied to one floppy, CUT.EXE can be used to split the file and
copy the parts.
The DOS-command "copy" can be used to "paste" the pieces afterwards.
EXAMPLE:
CUT /720 huge.txt
("cut the file huge.txt into pieces of 720 Kb. The pieces are
stored as huge.001, huge.002, ..."). "/720" is optional; it
will be asked if not specified.
Type "CUT /?" for help information.
DD.EXE
shows the files in a directory. The output can be sorted in many ways. The
input can be filtered using +,-,∙ ("or, minus, and <ASCII 249>"), /TODAY,
/PROGS, /SUB, etc. .
WHY USE IT ?
The output is shown in 1,2,3... columns, depending on the screen-
resolution (40,80,132,... columns). So you will get more information
on your screen. Files can be grouped (/PROG, /SUBDIR, etc.) and
combined.
USAGE: DD <specs> <options>
<specs> : filenames (wildcards allowed), optionally separated by
+ - ∙ (for logical OR, NOT, AND)
<options> :
/N sort on name
/E sort on extension
/S sort on size
/D sort on date
/T sort on time
/- do not sort
/w write new sort-defaults into DD.EXE
/ARchived: arc+zip+zoo+lzh+pak+pka...
/Programs: programs only
/TExt : txt+doc+me
/SOurce : c+cpp+h+pas+bas
/SUbdirs : subdirectories only
/TOday : today only
/Before : before <date>
/AFter : after <date> (incl.)
EXAMPLE:
DD *.doc + *.obj /TODAY /t
("show *.doc and *.obj created today, and sort them on time")
DD *.exe /AFTER 1-1-92
("show *.exe created after 1-1-92")
Type "DD /?" for help information.
DELDIR.EXE
deletes a directory and its subdirectories, even if the current directory
is involved or if the directories are on another drive.
WHY USE IT ?
If the current directory is deleted, the new directory-name is shown
to avoid confusion.
USAGE: DELDIR <options> <directoryname>
/h∙ : delete hidden files (/h+ = yes, /h- = no)
/r∙ : delte read-only files (/r+ = yes, /r- = no)
/s∙ : delete system files (/s+ = yes, /s- = no)
/p∙ : prompt each time before deleting subdir (/p+ = yes, /p- = no)
/x∙ : directories may have an extension (/x+ = yes, /x- = no)
with /x-, directories with extension are not recognized and
not deleted, but the search for subdirs will be much faster
/w : write new defaults into DELDIR.EXE
EXAMPLE:
DELDIR . /p-
("delete the current directory + subdirs without prompt")
Type "DELDIR /?" for help information
DOUBLESS.EXE
searches one or more disk(s) for duplicates, and asks for each duplicate
whether it has to be deleted or not (optionally).
Directories can be excluded before (incl. subdirs) and during program-
execution. In the latter case only the named directories are excluded,
not the subdirs of this directories.
The mouse can be used to answer Yes/No (Left/Right).
USAGE: DOUBLESS <filespec> <options>
<filespec>
wildcards allowed; even drives. Maximum 8, separated by space(s).
/p∙ : prompt for deletion (/p+ = yes, /p- = no). Each file that is
present more than once, will be shown and you will be asked
whether it has to be deleted or not. /p- means: no deletion at
all, just show the filenames.
/e∙ : exclude subdirectories (/e+) or not (/e-). The names of the
subdirs that you want to exclude are asked. Use this if you
have used some subdirs for a backup.
/x∙ : see DELDIR.EXE
/w : see DELDIR.EXE
EXAMPLE:
DOUBLESS A:*.doc C:\bin
("search for duplicate *.doc-files in A:, starting from the root,
and in C:, starting from the directory \bin")
Type "DOUBLESS /?" for help information
SEARCH.EXE
searches a particular file on disk.
Wildcards may be used.
WHY USE IT ?
the search may be interrupted at any moment by pressing <ESC>.
USAGE: SEARCH <filespec> <options>
/d : search on date
(files must match a particular date, between <date 1>
and <date 2>)
/s : search on size
(files must match a particular size, between <size 1>
and <size 2>)
/x∙ : see DELDIR.EXE
/w : see DELDIR.EXE
EXAMPLE:
SEARCH *.bak
Type "SEARCH /?" for help information
WC.EXE
gives wildcard-facilities to any program. If you have a program that
does not accept wildcards, precede it with WC. For instance, for a program
(CV.EXE) that converts an .IN-file to some kind of outputfile, type...
WC cv *.in *.out
(-> all the .IN-files will be converted by CV.EXE to .OUT-files,
even if these .OUT-files did not exist yet)
WC can also be used for programs that DO accept wildcards: WC will give
you the choice whether to execute the program or not on each particular
file.
USAGE: WC <wc-options> <any program, incl. options, inputfiles etc.>
<wc-options>:
/p∙ : prompt/do not prompt before executing (/p- = no, /p+ = yes)
/d∙ : files must match a particular date, between <date 1> and
<date 2>
/s∙ : files must match a particular size, between <size 1> and
<size 2>
/1../9 : wildcards based on argument 1..9.
Example:
suppose you have a program, called PROG.EXE, that accepts 1
inputfile to create 2 outputfiles (that do not exist yet).
If the <usage> of this program is
Usage: PROG <input> <output 1> <output 2>
... then type:
wc /1 prog *.in *.ou1 *.ou2
(use all the .in-files on disk to produce .ou1 and
.ou2-files)
But with
Usage: PROG <output 1> <output 2> <input>
type:
wc /3 prog *.ou1 *.ou2 *.in
(use all the .in-files on disk to produce .ou1
and .ou2-files). "/3" means: use the third
argument to derive the name of the outputfiles.
/w : see DELDIR.EXE
EXAMPLE
WC del *.bak
("delete all BAK-files one by one, with a prompt for each")
Type "WC /?" for help information
XUPDATE.EXE
updates files that have the same name but differ in time of creation.
Each file is presented on screen before being updated.
W